package model;

/**
 * Datenmodell für die verschiedenen Städte
 * 
 * @author Sebastian Althof <get@itnuts.de>
 * @version 1.1.0
 * 
 */
public class CityModel {
	/**
	 * ID der Stadt z.B EDDS
	 */
	private String cityID;
	
	
	/**
	 * Name der Stadt z.B. Stuttgart
	 */
	private String name;
	
	/**
	 * Kürzel für das Land
	 * z.B. DE = Deutschland
	 */
	private String countryID;
	
	/**
	 * Vollständiger Name
	 * z.B. Deutschland
	 */
	private String countryName;
	
	
	/**
	 * weather of the city
	 */
	public WeatherModel weather = new WeatherModel();
	
	/**
	 * coordinates of the city
	 */
	private Coordinates coordinates;
		
	public String getCityID() {
		return cityID;
	}

	public void setCityID(String cityID) {
		this.cityID = cityID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCountryID() {
		return countryID;
	}

	public void setCountryID(String countryID) {
		this.countryID = countryID;
	}

	public String getCountryName() {
		return countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}
	
	public void setCoordinates(Double lat, Double lon){
		 this.coordinates = new Coordinates(lat,lon);
	}
	
	public String toString() {
		return this.name;
	}
	
}
